<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>会员登录</title>
    <link rel="stylesheet" href="./css/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="./css/bootstrap/bootstrap-icons.css" />
    <link rel="stylesheet" href="./iconfont/iconfont.css" />
    <link rel="stylesheet" href="./css/login.css" />
  </head>
  <body>
    <div id="app">
      <!-- 头部 -->
      <header>
        <div class="title">
          <div class="back">
            <i class="iconfont icon-fanhui2"></i>
          </div>
          <div class="txt">会员登录</div>
        </div>
      </header>

      <!-- 主体 -->
      <div class="main">
        <div class="lg_header">
          <div class="title">
            <span>手机号登录</span>
          </div>
          <p>
            <span>未注册的手机号登录后将自动注册</span>
          </p>
        </div>

        <form class="submit">
          <div class="form-item">
            <input
              type="text"
              name="mobile"
              placeholder="请输入手机号码"
              class="phone"
              v-model="mobile"
            />
          </div>
          <div class="form-item">
            <input
              type="text"
              name="captchaCode"
              placeholder="请输入图形验证码"
              class="picMsg"
              v-model="captchaCode"
            />
            <div class="pic" @click="change">
              <img :src="baseImg" alt="" />
            </div>
          </div>
          <div class="form-item">
            <input
              type="text"
              name="smsCode"
              placeholder="请输入短信验证码"
              class="phoneMsg"
              v-model="smsCode"
            />
            <div class="msg" @click="getMsg">
              <button
                type="button"
                :disabled="timeOut>0"
                :class="{change:timeOut>0}"
              >
                {{timeOut}}{{timeTip}}
              </button>
            </div>
          </div>
          <!-- 登录 -->
          <div class="login">
            <button id="btn" class="btnLogin" @click.prevent="getLogin">
              登 录
            </button>
          </div>
        </form>
      </div>
      <!-- 轻提示 -->
      <div id="myToast" class="toast bg-rgba">
        <div class="toast-body">提示消息</div>
      </div>
    </div>
    <script src="./js/vue.js"></script>
    <script src="./css/bootstrap/bootstrap.min.js"></script>
    <script src="./js/lib/form-serialize.js"></script>
    <script src="./js/axios.js"></script>
    <script src="./js/common.js"></script>
    <script src="./vue-js/login.js"></script>
  </body>
</html>
